package com.example.petproject.entity.vo;


import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.List;

/**
 * 包名称：com.example.petproject.entity.vo
 * 类名称：CategoryListVO
 * 类描述：所有的商品分类信息
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月05日 09:54
 **/
@Schema(defaultValue = "所有的商品分类信息",name = "所有的商品分类信息实体类")
public class CategoryListVO implements Serializable {
    /**
     * 一级分类ID
     */
    @Schema(description = "一级分类ID")
    private Integer id;

    /**
     * 分类名称
     */
    @Schema(description = "分类名称")
    private String name;

    /**
     * 简称
     */
    @Schema(description = "简称")
    private String abbreviation;

    /**
     *分类级别 0->1级 1->2级
     */
    @Schema(description = "分类级别 0->1级 1->2级")
    private Integer level;

    /**
     * 显示状态 0->不显示 1->显示
     */
    @Schema(description = "显示状态 0->不显示 1->显示")
    private Integer showStatus;

    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

    /**
     * 商品二级分类列表
     */
    @Schema(description = "商品二级分类列表")
    private List<ProductCategoryList> secProductCategoryList;


    public CategoryListVO() {
    }

    public CategoryListVO(Integer id, String name, String abbreviation, Integer level, Integer showStatus, String icon, List<ProductCategoryList> secProductCategoryList) {
        this.id = id;
        this.name = name;
        this.abbreviation = abbreviation;
        this.level = level;
        this.showStatus = showStatus;
        this.icon = icon;
        this.secProductCategoryList = secProductCategoryList;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return abbreviation
     */
    public String getAbbreviation() {
        return abbreviation;
    }

    /**
     * 设置
     * @param abbreviation
     */
    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    /**
     * 获取
     * @return level
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * 设置
     * @param level
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * 获取
     * @return showStatus
     */
    public Integer getShowStatus() {
        return showStatus;
    }

    /**
     * 设置
     * @param showStatus
     */
    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    /**
     * 获取
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * 设置
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * 获取
     * @return secProductCategoryList
     */
    public List<ProductCategoryList> getSecProductCategoryList() {
        return secProductCategoryList;
    }

    /**
     * 设置
     * @param secProductCategoryList
     */
    public void setSecProductCategoryList(List<ProductCategoryList> secProductCategoryList) {
        this.secProductCategoryList = secProductCategoryList;
    }

    public String toString() {
        return "CategoryListVO{id = " + id + ", name = " + name + ", abbreviation = " + abbreviation + ", level = " + level + ", showStatus = " + showStatus + ", icon = " + icon + ", secProductCategoryList = " + secProductCategoryList + "}";
    }
}
